﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListReward.aspx.cs" Inherits="lcmyjobs.Web.enprise.ListReward" %>

<%@ Register src="../Controls/Bottom8.ascx" tagname="Bottom8" tagprefix="uc1" %>

<%@ Register src="../Controls/TopEmployNavigation.ascx" tagname="TopEmployNavigation" tagprefix="uc2" %>

<%@ Register src="../Controls/EnterpriseLeft.ascx" tagname="EnterpriseLeft" tagprefix="uc3" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单位管理中心—职位管理：悬赏招聘</title>
    <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/mybasic.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(2).addClass("activ_n"); });
    </script>
</head>
<body>
    <form id="form1" runat="server">
  <div id="lo_wrap">
		<uc2:TopEmployNavigation ID="TopEmployNavigation1" runat="server" />
		<div class="zgzt_img">
			<img src="../qimg/zgzt_img.jpg" alt="找工作？就来我就业网！" width="950" height="70"/>
		</div>
		<div class="syd_dhk">
			欢迎您：<asp:Label ID="lbl_title" runat="server" Font-Bold="True" ></asp:Label>
            &nbsp;</div>
		<div class="ny_center" style="margin-top:5px;">
			<uc3:EnterpriseLeft ID="EnterpriseLeft1" runat="server" />
			<div class="grgl_right">
				<div class="grgl_jbzl">
				<p class="jbzl_zhuc_ls"><a href="PostJobs.html">发布职位</a> | <a href="ListJobs.html">职位管理</a> | <a href="ListReward.html"><span>悬赏服务</span></a> | <a href="ListHunter.html">猎头服务</a></p>
				<div class="xinxi_zc">
					<div class="jbxx_lr_ls" style=" height:24px;">
                        <div style=" float:left; width:280px; line-height:24px;">
                            <asp:Panel ID="pnl_ts1" runat="server">
                                您已经申请悬赏职位&nbsp;<asp:Label ID="lbl_xszw" runat="server" ForeColor="#ff6600"></asp:Label>&nbsp;个
                            </asp:Panel>
                            <asp:Panel ID="pnl_ts2" runat="server" Visible="false">
                                您尚未申请的悬赏招聘<br />                                   
                            </asp:Panel>
                        </div>
                        <div style=" float:right; width:360px; text-align:right; line-height:24px; ">
                                        <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged"
                                            runat="server" PageSize="20" CustomInfoTextAlign="Left" FirstPageText="首页" LastPageText="尾页"
                                            NextPageText="下一页" PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb"
                                            CustomInfoHTML="&nbsp;共%PageCount%页" LayoutType="Table" ShowCustomInfoSection="Right"
                                            ShowNavigationToolTip="True" ShowPageIndexBox="Always" PageIndexBoxType="DropDownList"
                                            TextAfterPageIndexBox="&nbsp;页" TextBeforePageIndexBox="跳转至&nbsp;" CustomInfoSectionWidth="50px"
                                            ShowPageIndex="False" HorizontalAlign="Right" AlwaysShow="True">
                                        </webdiyer:AspNetPager>
                        </div>
                    </div>
					<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                            OnRowCommand="GridView1_RowCommand" Width="100%" CellPadding="4" CssClass="jbzl_tab_zw"
                            GridLines="None">
                            <Columns>
                                <asp:TemplateField HeaderText="悬赏职位">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("jobs_name") %>'></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:HyperLink ID="hy_showjob" runat="server" NavigateUrl='<%# "../findjobs/JobsInfo-" + Eval("enterprise_rid") + ".html" %>' Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("jobs_name").ToString(),10) %>' ForeColor="#ff6600" Target="_blank"></asp:HyperLink>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                <asp:BoundField DataField="price" HeaderText="悬赏金额(元)" HeaderStyle-Width="110px" DataFormatString="{0}" />

                                <asp:TemplateField HeaderText="有效期（天）"  HeaderStyle-Width="80px">

                                    <ItemTemplate>
                                        <asp:Label ID="label_valid" runat="server" 
                                            Text='<%# lcmyjobs.BLL.Tools.GetValidity(Eval("validity_last").ToString())+"天" %>'></asp:Label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="releasetime" HeaderText="申请日期" HeaderStyle-Width="100px" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" />
                                <asp:TemplateField HeaderText="操作" HeaderStyle-Width="105px">
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                    </EditItemTemplate>
                                    <ItemTemplate>

                                        &nbsp;<asp:LinkButton ID="lbn_up" runat="server" CommandArgument='<%# Bind("enterprise_reward_id") %>'
                                            CommandName="upd" ForeColor="#ff6600">修改</asp:LinkButton>
                                        &nbsp;<asp:LinkButton ID="lbn_cancel" runat="server" CommandArgument='<%# Bind("enterprise_reward_id") %>'
                                            CommandName="del" OnClientClick="return confirm('确定要撤销悬赏职位吗？')" ForeColor="#ff6600">撤销</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
										
					<!--
					<div style="text-align:right; padding:10px 20px 0 20px;">
						上一页 下一页 最末页
					</div>-->
					<div class="czsm_div" style="margin-top:30px">

					<p class="czsm_cz">温馨提示：</p>
					<div class="wzgg_an">
                        <asp:Label ID="lblhint" runat="server"></asp:Label>
                        <!--
                            您快捷找到：适合的、满意的、同您的招聘职位吻合的人才，建议您选择悬赏招聘，您将有机会借助
							猎手人脉资源关系，及我就业网悬赏服务，被推荐合适的人才
                            -->
                    </div>
					</div>
					</div>
				</div>
			</div>
		</div>
		 <uc1:Bottom8 ID="Bottom81" runat="server" />
	</div>

   

    </form>
</body>
</html>
